package com.zide.ams.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zide.ams.domain.po.AmsArticleTag;
import com.zide.ams.domain.vo.search.AmsArticleTagSearchVO;
import com.zide.framework.config.mybatisplus.XianYingMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import com.zide.common.core.domain.PageResult;

/**
 * 文章标签关联Mapper接口
 * 
 * @author zide
 * @date 2024-04-29
 */
@Mapper
public interface AmsArticleTagMapper extends XianYingMapperPlus<AmsArticleTag> {

    default PageResult<AmsArticleTag> selectPage(AmsArticleTagSearchVO searchVO) {
        return selectPage(searchVO, new LambdaQueryWrapper<AmsArticleTag>().orderByDesc(AmsArticleTag::getId));
    }
}
